﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TianYu.CMS.Domain.ViewModel
{
    public class SysMenuViewModel
    {
        public int Id { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary> 
        public string MenuName { get; set; }
        /// <summary>
        /// 菜单编码
        /// </summary> 
        public int MenuCode { get; set; }
        /// <summary>
        /// 菜单图标
        /// </summary> 
        public string MenuIcon { get; set; } 
        /// <summary>
        /// 菜单Url
        /// </summary> 
        public string MenuUrl { get; set; }
        /// <summary>
        /// 父级ID(-1为顶级)
        /// </summary> 
        public int ParentId { get; set; }
        /// <summary>
        /// 父级编码
        /// </summary> 
        public int? ParentCode { get; set; } 
        /// <summary>
        /// 层级
        /// </summary> 
        public int Level { get; set; }
        /// <summary>
        /// 排序
        /// </summary> 
        public int Sort { get; set; }
        /// <summary>
        /// 菜单类型（1＝系统；2＝目录；3＝菜单；4＝按钮）
        /// </summary>
        public int MenuType { get; set; } 
		/// <summary>
		/// 背景颜色
		/// </summary> 
		public string BackColor { get; set; } 
		/// <summary>
		/// 分组
		/// </summary> 
		public int GroupId { get; set; } 
		/// <summary>
		/// Js事件名称
		/// </summary> 
		public string JsEvent { get; set; }	   
		/// <summary>
		/// 按钮样式
		/// </summary> 
		public string SizeStyle { get; set; } 
		/// <summary>
		/// 是否自定义
		/// </summary> 
		public bool IsToolbar { get; set; } 
	}
}
